package com.itheima.xiancheng;

public class RunnableDemo {
    public static void main(String[] args) {
      MyRunnable mr=new MyRunnable(); //创建参数对象
      Thread th=new Thread(mr);//创建线程对象
        th.start();

      // MyRunnable mr1=new MyRunnable();
      Thread th1=new Thread(mr);
      th1.start();

    }
}
